AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Add a single item to get, identified by its key, using the specified expression to identify the attributes to retrieve.

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public void AddKey(
         IDictionary<String, DynamoDBEntry> key,
         Expression projectionExpression
)

Parameters

key
Type: System.Collections.Generic.IDictionary<System.String, Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry>

Key of the item to get.

projectionExpression
Type: Amazon.DynamoDBv2.DocumentModel.Expression

An expression that identifies one or more attributes of the specified item to retrieve from the table.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5